package net.cyan.nest.script;

/**
 * 
* @author camel
* @date 2008-12-7
*/
class ScriptInfo
{
    private String path;

    private String type;

    private boolean singleton;

    public ScriptInfo(String path, String type, boolean singleton)
    {
        this.path = path;
        this.type = type;
        this.singleton = singleton;
    }

    ScriptInfo(String path, String type)
    {
        this.path = path;
        this.type = type;
    }

    public String getPath()
    {
        return path;
    }

    public String getType()
    {
        return type;
    }

    public boolean isSingleton()
    {
        return singleton;
    }
}
